<?php

class Remito extends DataMapper
{
	public $table = 'remitos';
	public $model = 'remito';
	public $has_one = array('proveedor','usuario');
	public $has_many = array('movimiento');

	var $validation = array(
        'numero' => array(
            'label' => 'Número',
            'rules' => array('required', 'trim'),
        )
    );
	
	public function __construct($id = null)
	{
		parent::__construct($id);
	}

}

// End of file remito.php
/* Location ./application/models/remito.php */